import request from '@/utils/request'

// 查询用户登录日志列表
export function listAppUserLoginLogList(query) {
  return request({
    url: '/system/logManage/userLogin/list',
    method: 'get',
    params: query
  })
}

// 导出用户登录日志列表
export function exportAppUserLoginLogList(query) {
  return request({
    url: '/system/logManage/userLogin/export',
    method: 'get',
    params: query
  })
}

// 查询接口请求统计列表
export function listApiReqCount(query) {
  return request({
    url: '/system/logManage/apiReq/list',
    method: 'get',
    params: query
  })
}

// 导出接口请求统计列表
export function exportApiReqCount(query) {
  return request({
    url: '/system/logManage/apiReq/export',
    method: 'get',
    params: query
  })
}

// 查询消息统计列表
export function listAppMessage(query) {
  return request({
    url: '/system/appMessage/systemMessage',
    method: 'get',
    params: query
  })
}

// 导出消息统计列表
export function exportAppMessage(query) {
  return request({
    url: '/system/appMessage/systemMessage/export',
    method: 'get',
    params: query
  })
}
